package abstractdemo01;

public class Test {
    public static void main(String[] args) {
        Student s = new Student("zhangsan", 18);
        System.out.println(s.getAge() + " " + s.getName());
    }
}
//创建对象
//1.抽象类不能实例化
//Person p=new Person();